WPForms\Integrations\Stripe\Api\PaymentIntents C

Total Complexity 108
Dependencies 15
Dependents 4
Total lines 1,028
Lines of code 469
Logical lines of code 245
Comment lines 347
Methods 31
Properties 4

Methods 31

Method Rating Maintainability Complexity Lines of code
charge_subscription()
A
40 12 60
charge_single()
A
45 10 40
get_charge_details()
A
53 9 24
bypass_captcha_on_3dsecure_submit()
A
54 8 20
select_subscription_default_payment_method()
S
56 6 20
detach_remote_subscriptions_duplicated_payment_methods()
S
51 5 28
set_payment_tokens()
S
62 6 11
refund_payment()
S
53 5 24
request_3dsecure_ajax()
S
60 4 14
cancel_subscription()
S
52 3 28
retrieve_mandate()
S
55 3 20
create_setup_intent()
S
57 3 17
get_charge()
S
60 3 15
retrieve_payment_intent()
S
59 3 14
process_single()
S
70 3 7
process_subscription()
S
70 3 7
set_config()
S
60 2 15
attach_customer_to_payment()
S
61 2 13
set_bypass_captcha_3dsecure_token()
S
66 2 8
finalize_single()
S
65 2 8
filter_config_element_locale()
S
73 2 4
finalize_subscription()
S
64 2 9
load_card_field()
S
71 2 7
set_card_element_config()
S
58 1 14
update_remote_customer_default_payment_method()
S
65 1 11
get_payment()
S
79 1 3
hooks()
S
78 1 3
request_confirm_payment_ajax()
S
69 1 8
setup_stripe()
S
77 1 4
set_payment_element_config()
S
66 1 7
init()
S
72 1 6